﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddOrganization.ascx.vb"
    Inherits="WebForm_ManageOrganization_AddOrganization" %>
<%@ Register Src="~/WebForm/CommonControl/CalendarTextBox.ascx" TagName="CalendarTextBox"
    TagPrefix="My" %> 
<%--<asp:Panel ID="panel1" runat="server" BackColor="white" BorderWidth="1" SkinID="DragPanel" Width="400">
    <br />
    <div align="center">
        <asp:Label ID="lblForm" runat="server" meta:resourcekey="Page" SkinID="title" ForeColor="#408080"></asp:Label>
    </div>
    <br />--%>
<asp:FormView ID="fv" runat="server" DefaultMode="ReadOnly">
    <ItemTemplate>
        <table>
            <tr>
                <td align="right">
                    <asp:Label ID="lblOrganizationName" runat="server" meta:resourcekey="lblOrganizationName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtOrganizationName" runat="server" Text='<%#Bind("OrganizationName") %>'></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblIsGov" runat="server" meta:resourcekey="lblIsGov"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlIsGov" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblPhone" runat="server" meta:resourcekey="lblPhone"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtPhone" runat="server" Text='<%#Bind("Phone") %>'></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblAddress" runat="server" meta:resourcekey="lblAddress"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlCity" runat="server">
                        <asp:ListItem Text="新北市" Value="F"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlRegion" runat="server">
                    </asp:DropDownList>
                    <asp:TextBox ID="txtAddress" runat="server" Text='<%#Bind("Address") %>' Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblIntroduction" runat="server" meta:resourcekey="lblIntroduction"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtIntroduction" runat="server" Text='<%#Bind("Introduction") %>' Rows="4" TextMode="MultiLine" Width="280px"></asp:TextBox>                    
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblEstablishDate" runat="server" meta:resourcekey="lblEstablishDate"></asp:Label>
                </td>
                <td align="left">
                    <My:CalendarTextBox ID="txtBirthday" runat="server" MinYear="1912" Text='<%#Bind("EstablishDate") %>' />                 
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblMOIOrganizationType" runat="server" meta:resourcekey="lblMOIOrganizationType"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlMOIOrganizationType" runat="server">
                    </asp:DropDownList>                 
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlActive" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblInternal" runat="server" meta:resourcekey="lblInternal"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlInternal" runat="server">
                        <asp:ListItem Value="Y">是</asp:ListItem>
                        <asp:ListItem Value="N">否</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                </td>
                <td align="left">
                    <asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" CommandName="btnSave" />
                    <ajaxToolkit:ConfirmButtonExtender ID="cbSave" runat="server" TargetControlID="btnAdd" meta:resourcekey="cbSave"></ajaxToolkit:ConfirmButtonExtender>
                    <asp:Button ID="btnOK" runat="server" Text="取消" />
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
<br />
<%--</asp:Panel>
<asp:Button ID="btnDummy" runat="server" Style="display: none" SkinID="null" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" TargetControlID="btnDummy"
    PopupControlID="panel1" OkControlID="btnOK" PopupDragHandleControlID="panel1" />
--%>
